<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');

include 'lib/autoloader.php';

//YML!!!
echo "<h1>RMT Form generator Beta</h1>";

require_once "lib/spyc.php";
$data = Spyc::YAMLLoad('forms.yml');

$builder = new lib_Builder();
$builder->setOption('buildFactory', 'Plain');

$builder->setSchema($data);
$builder->buildAll();

?>